package com.sbtr.business.calibration.service;

import com.sbtr.common.PageDto;
import com.sbtr.open.calibration.dto.CalibrationCountByClassifyDto;
import com.sbtr.open.calibration.dto.CalibrationSearchByDetailsDto;
import com.sbtr.open.calibration.dto.CalibrationVoiceDto;

import java.util.List;

public interface ICalibrationVoiceService {

    boolean batchSave(List<CalibrationVoiceDto> dtos);

    public List<CalibrationCountByClassifyDto> countVoiceHasCalibrated(Long calibrationDetailsId);

    PageDto<CalibrationVoiceDto> getVoiceCalibrate(CalibrationSearchByDetailsDto dto);

    CalibrationVoiceDto findById(Long id);

    List<CalibrationVoiceDto> saveVoiceCalibrate(Long calibrationId,
                                                 List<CalibrationVoiceDto> dtos);

    List<CalibrationVoiceDto> saveVoiceSkip(Long calibrationDetailsId,
                                            List<CalibrationVoiceDto> dtos);

    List<CalibrationVoiceDto> findCompletedByCalibrationId(Long calibrationId);

    List<CalibrationVoiceDto> findCompletedByFinisher(Long calibrationId,String finisher);

}
